#ifndef UTI_INDEXSERIES_MQ_H_
#define UTI_INDEXSERIES_MQ_H_
#pragma once
#include "sys_config.h"

#include "uti_indexseries.h"



class IndexSeries_Mq
{
public:
	IndexSeries_Mq(IndexSerInfo* pserinfo, HANDLE* phan);

	IndexSeries_Mq(unsigned int sersize, void (*p) (), HANDLE* phan);

	~IndexSeries_Mq();

	
	IndexData* IndexSeries_Mq::GetData()
	{
		return (m_pstart + m_index);
	};

	int Checkindex();

public:
	IndexSeries* m_pser;


private:

	IndexData* m_pstart;

	unsigned int m_index;

	HANDLE* m_phan_callback;

	unsigned int m_size;

};





#endif